import request from '@/utils/request'

// 保存签章
export function saveKingSignatrue(data)
{
    return request({
        url: "/kingSigns/saveKingSignatrue",
        method: 'post',
        data
    })
}

// 根据签章id更新签章
export function updateKingSignatrueBySignatureId(data)
{
    return request({
        url: "/kingSigns/updateKingSignatrueBySignatureId",
        method: 'post',
        data
    })
}

// 根据签章id逻辑删除签章
export function deleteKingSignatrueBySignatureId(params)
{
    return request({
        url: "/kingSigns/deleteKingSignatrueBySignatureId",
        method: 'delete',
        params
    })
}


// 根据文档id获取签章信息列表
export function getKingSignatrueListByDocumentId(params)
{
    return request({
        url: "/kingSigns/getKingSignatrueListByDocumentId",
        method: 'get',
        params
    })
}